package com.tamplus.cs.model;

import java.io.Serializable;
import java.util.ArrayList;
import java.util.Date;

public class Patient implements Serializable{
	private static final long serialVersionUID = 1L;
	
	private String id;
	private String contactId;
	private String answerId;
	private String hn;
	private String title;
	private String name;
	private String surname;
	private String hnFlag;
	private String checkupFlag;
	private String gender;
	private Date birthDate;
	private String DOB;
	private String age;
	
	private String BMI;
	private String DIA;
	private String heart;
	private String height;
	private String note;
	private String status;
	private String SYS;
	private double totalPrice;
	private Date visitDate;
	private String visitDateStr;
	private String weight;
	
	private String riskFactory;
	private String riskFactoryHtml;
	
	private ArrayList<CheckupPackage> packageList;

	public String getId() {
		return id;
	}

	public void setId(String id) {
		this.id = id;
	}

	public String getTitle() {
		return title;
	}

	public void setTitle(String title) {
		this.title = title;
	}

	public String getName() {
		return name;
	}

	public void setName(String name) {
		this.name = name;
	}

	public String getSurname() {
		return surname;
	}

	public void setSurname(String surname) {
		this.surname = surname;
	}

	public ArrayList<CheckupPackage> getPackageList() {
		return packageList;
	}

	public void setPackageList(ArrayList<CheckupPackage> packageList) {
		this.packageList = packageList;
	}

	public String getHn() {
		return hn;
	}

	public void setHn(String hn) {
		this.hn = hn;
	}

	public String getHnFlag() {
		return hnFlag;
	}

	public void setHnFlag(String hnFlag) {
		this.hnFlag = hnFlag;
	}

	public String getCheckupFlag() {
		return checkupFlag;
	}

	public void setCheckupFlag(String checkupFlag) {
		this.checkupFlag = checkupFlag;
	}

	public String getGender() {
		return gender;
	}

	public void setGender(String gender) {
		this.gender = gender;
	}

	public String getDOB() {
		return DOB;
	}

	public void setDOB(String dOB) {
		DOB = dOB;
	}

	public String getAge() {
		return age;
	}

	public void setAge(String age) {
		this.age = age;
	}

	public String getRiskFactory() {
		return riskFactory;
	}

	public void setRiskFactory(String riskFactory) {
		this.riskFactory = riskFactory;
	}

	public Date getBirthDate() {
		return birthDate;
	}

	public void setBirthDate(Date birthDate) {
		this.birthDate = birthDate;
	}

	public String getBMI() {
		return BMI;
	}

	public void setBMI(String bMI) {
		BMI = bMI;
	}

	public String getDIA() {
		return DIA;
	}

	public void setDIA(String dIA) {
		DIA = dIA;
	}

	public String getHeart() {
		return heart;
	}

	public void setHeart(String heart) {
		this.heart = heart;
	}

	public String getHeight() {
		return height;
	}

	public void setHeight(String height) {
		this.height = height;
	}

	public String getNote() {
		return note;
	}

	public void setNote(String note) {
		this.note = note;
	}

	public String getStatus() {
		return status;
	}

	public void setStatus(String status) {
		this.status = status;
	}

	public String getSYS() {
		return SYS;
	}

	public void setSYS(String sYS) {
		SYS = sYS;
	}

	public String getWeight() {
		return weight;
	}

	public void setWeight(String weight) {
		this.weight = weight;
	}

	public String getRiskFactoryHtml() {
		if(riskFactory != null){
			riskFactoryHtml = riskFactory.replaceAll("\n", "<br/>");
		}
		return riskFactoryHtml;
	}

	public void setRiskFactoryHtml(String riskFactoryHtml) {
		this.riskFactoryHtml = riskFactoryHtml;
	}

	public String getContactId() {
		return contactId;
	}

	public void setContactId(String contactId) {
		this.contactId = contactId;
	}

	public String getAnswerId() {
		return answerId;
	}

	public void setAnswerId(String answerId) {
		this.answerId = answerId;
	}

	public Date getVisitDate() {
		return visitDate;
	}

	public void setVisitDate(Date visitDate) {
		this.visitDate = visitDate;
	}

	public double getTotalPrice() {
		return totalPrice;
	}

	public void setTotalPrice(double totalPrice) {
		this.totalPrice = totalPrice;
	}

	public String getVisitDateStr() {
		return visitDateStr;
	}

	public void setVisitDateStr(String visitDateStr) {
		this.visitDateStr = visitDateStr;
	}
	
}
